package com.yh.service;

import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.remoting.exception.RemotingException;

/**
 * @author yh
 */
public interface IOrderService {
    void sendOrder();

    void buyPro(Long proId) throws InterruptedException, RemotingException, MQClientException, MQBrokerException;
}
